
public class MatrixTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) 
	{
		int[][] matrix = new int[5][3];
		
		
		for (int i = 0; i < matrix.length; i++) {
			for (int j = 0; j < matrix[i].length; j++) {
				matrix[i][j] = i+j;
			}
			
		}
		
int[][] matrixB = new int[5][3];
		
		
		for (int i = 0; i < matrixB.length; i++) {
			for (int j = 0; j < matrixB[i].length; j++) {
				matrixB[i][j] = i+j;
			}
			
		}
		
int[][] matrixC = new int[5][3];
		
		
		for (int i = 0; i < matrixC.length; i++) {
			for (int j = 0; j < matrixC[i].length; j++) {
				matrixC[i][j] = i+j;
			}
			
		}
		
		//MatrixReadSave.matrixMultiply(matrix, matrixB, matrixC);
		
		System.out.println(MatrixReadSave.saveMatrixInTextFile(matrix, "matrix"));
		
		int[][] matrixLoad = MatrixReadSave.loadMatrixFromTextFile("matrix.txt");
 
	}

}
